package course.pojo.excelModel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author HLF
 * @date 2022/7/5 16:35
 */
@Data
@EqualsAndHashCode
public class ZhuanyeModel {
    /**
     * 专业id
     */
    @ExcelProperty(value = "专业id", index = 0)
    private Integer zid;

    /**
     * 专业名称
     */
    @ExcelProperty(value = "专业名称", index = 1)
    private String zname;

    /**
     * 专业描述
     */
    @ExcelProperty(value = "专业描述", index = 2)
    private String zdesc;

    /**
     * 所属学院id
     */
    @ExcelIgnore
    private Integer cid;

    @ExcelProperty(value = "所属学院", index = 3)
    private String cname;
}
